package com.capgemini.remind.service;

import com.capgemini.core.PageList;
import com.capgemini.remind.pojo.*;
import com.capgemini.wechat.mapper.SaleOrderMapper;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ConsumeInfoService {
    public final Logger log = LoggerFactory.getLogger(this.getClass());

    @Autowired
    private SaleOrderMapper saleOrderMapper;

    public void queryConsumeHistoryPage(PageList<ConsumeInfo> pageList) {
    	pageList.setItems(saleOrderMapper.queryConsumeHistoryPage(pageList));
    }
}
